﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;

namespace EraNet.Core.Model.SysManage
{
    public class OSAEntityList
    {
        /// <summary>
        /// 接口名
        /// </summary>
        public virtual string InterfaceName { get; set; }
        /// <summary>
        /// 提供商
        /// </summary>
        public virtual string Provider { get; set; }
        /// <summary>
        /// 添加时间
        /// </summary>
        public virtual DateTime CreateDate { get; set; }
        /// <summary>
        /// 过期时间
        /// </summary>
        public virtual DateTime ExpirationDate { get; set; }
        /// <summary>
        /// 接口状态
        /// </summary>
        public virtual int InterfaceStatus { get; set; }
        /// <summary>
        /// 开发语言
        /// </summary>
        public virtual string DevelopmentLanguage { get; set; }
        /// <summary>
        /// 未处理的申请
        /// </summary>
        public virtual int Untreated { get; set; }
        /// <summary>
        /// 目前申请人
        /// </summary>
        public virtual int ApplyCount { get; set; }

        private ICollection<OSAInterfaceApply> _forumPosts;
        /// <summary>
        /// Gets or sets the created forum posts
        /// </summary>
        public virtual ICollection<OSAInterfaceApply> OSAInterfaceApplys
        {
            get { return _forumPosts ?? (_forumPosts = new List<OSAInterfaceApply>()); }
            protected set { _forumPosts = value; }
        }
    }
}